<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="js/mui.min.js"></script>
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/payment.css"/>
		<link rel="stylesheet" type="text/css" href="css/public.css"/>
		<script type="text/javascript" charset="utf-8">
			mui.init();
		</script>
		<style type="text/css">
			.mui-table-view{margin-top: 45px!important;}
			.mui-table-view-cell{padding: 13px 15px;}
		</style>
	</head>

	<body>
		<div id="headerNav"></div>
		<ul class="mui-table-view">
	        <li class="mui-table-view-cell">
	            <a class="mui-navigate-right" id="setPass">设置支付密码</a>
	        </li>
	        <li class="mui-table-view-cell otherA">
	        	<a class="mui-navigate-right" href="amend_code.html">修改支付密码</a>
	        </li>
	         <li class="mui-table-view-cell otherA">
	        	<a class="mui-navigate-right" href="forget_payment.html">忘记支付密码</a>
	        </li>
	    </ul>
	</body>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script type="text/javascript">
		$('#headerNav').load('header.html',function(){
			$('header h1').html('支付管理');
		});
		mui('.otherA').on('tap','a',function(){
	        window.top.location.href = this.href;
	    })
		var c=window.localStorage.getItem('payPass');
		mui('.mui-table-view-cell').on('tap','#setPass',function(){
			if(c==0){
				 mui.alert('','请勿重复设置密码')
			}else{
				window.location.href='setPayPsd.html';
			}
		})
		
	</script>
</html>